package com.deyuanyun.pic.wf.service;

import com.deyuanyun.pic.wf.domain.ProcessInstance;
import java.util.List;

public interface ProcessInstanceService {
    ProcessInstance selectByPrimaryKey(String id);

    int deleteByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ProcessInstance record);

    int updateByPrimaryKey(ProcessInstance record);

    int insert(ProcessInstance record);

    /**
     * 根据流程编号去查询所有节点
     *
     * @param definitionId
     * @return
     */
    List<ProcessInstance> queryProcessInstanceByDefinitionId(String definitionId);
}